Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Simple Bootstrap. VM/Interop Optimizations #58

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

jhett12321
Copy link
Contributor

Adds support for simple bootstrapping as introduced in nwnxee/unified#1756.

This PR also includes some low level optimizations through implementing P/Invoke source generation: https://learn.microsoft.com/en-us/dotnet/standard/native-interop/pinvoke-source-generation

This drops support for versions prior to .NET 7.

Some additional optimizations have been made to string marshalling. Encoding.GetString now writes directly to the allocated unmanaged buffer instead of creating an extra copy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant